package com.sskj.hangqing.bean;

import com.sskj.common.util.LanguageUtil;

public class HangqingBannerBean {

    /**
     * id : 1
     * imgUrl : 1111
     * type : 1
     * sort : 1
     * createTime : 1561465102000
     * timestamp : 1561465170000
     */

    private int id;
    private String imgUrl;
    private String imgUrlUs;
    private int type;
    private int sort;
    private long createTime;
    private long timestamp;

    public String getImgUrlUs() {
        return imgUrlUs;
    }

    public void setImgUrlUs(String imgUrlUs) {
        this.imgUrlUs = imgUrlUs;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImgUrl() {
        return LanguageUtil.isSimpleChinese()?imgUrl:imgUrlUs;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "HangqingBannerBean{" +
                "id=" + id +
                ", imgUrl='" + imgUrl + '\'' +
                ", imgUrlUs='" + imgUrlUs + '\'' +
                ", type=" + type +
                ", sort=" + sort +
                ", createTime=" + createTime +
                ", timestamp=" + timestamp +
                '}';
    }
}
